package com.jinlejia.bbs.bean.db;

import com.litesuits.orm.db.annotation.PrimaryKey;
import com.litesuits.orm.db.enums.AssignType;

import java.io.Serializable;

/**
 * 搜索历史
 * @author 王进 on 2019/3/7.
 */

public class BbsSearchHistoryBean implements Serializable {
    @PrimaryKey(AssignType.AUTO_INCREMENT)
    private long id;
    private String name; //搜索关键词
    public BbsSearchHistoryBean(String name) {
        this.name = name;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
